#ifndef QTESTRUNNER_H
#define QTESTRUNNER_H

#include <QObject>
#include <QList>

class QTestRunner : public QObject
{
    Q_OBJECT

public:
    QTestRunner();
    ~QTestRunner();

public:
    void addTest(QObject * pTest);
    bool isAllSuccess() const { return m_bAllSuccess; }

public slots:
    void run();

private:
    bool m_bAllSuccess;
    QList<QObject *> m_listTests;
};

#endif // QTESTRUNNER_H
